package com.wenwei.sharebox.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/7/18.
 */
public class UserLoginBean implements Serializable{


    /**
     * id : 4
     * username : 18328676067
     * verificationCode : null
     * authorities : user
     * profile : {"id":4,"sex":0,"avator":null,"nickname":null,"state":0,"integralNum":0,"deposit":0}
     * status : 0
     * rememberToken : eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiIxODMyODY3NjA2NyIsImF1ZGllbmNlIjoid2ViIiwiY3JlYXRlZCI6MTUwMDk1NDMzMTQxOSwiZXhwIjoxNTAxNTU5MTMxfQ.1vHyesSIlxqABEyKRNogwpl948zEztUwMfYBohSSL8E8xOL3uHmvDAzAHuxDdYL-2WRGqV3yntE_mx7GX8wgVw
     * createdTime : 1500453675000
     */

    private int id;
    private String username;
    private Object verificationCode;
    private String authorities;
    private ProfileBean profile;
    private int status;
    private String rememberToken;
    private long createdTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Object getVerificationCode() {
        return verificationCode;
    }

    public void setVerificationCode(Object verificationCode) {
        this.verificationCode = verificationCode;
    }

    public String getAuthorities() {
        return authorities;
    }

    public void setAuthorities(String authorities) {
        this.authorities = authorities;
    }

    public ProfileBean getProfile() {
        return profile;
    }

    public void setProfile(ProfileBean profile) {
        this.profile = profile;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getRememberToken() {
        return rememberToken;
    }

    public void setRememberToken(String rememberToken) {
        this.rememberToken = rememberToken;
    }

    public long getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(long createdTime) {
        this.createdTime = createdTime;
    }

    public static class ProfileBean implements Serializable {
        /**
         * id : 4
         * sex : 0
         * avator : null
         * nickname : null
         * state : 0
         * integralNum : 0
         * deposit : 0
         */

        private int id;
        private int sex;
        private String avator;
        private String nickname;
        private int state;
        private int integralNum;
        private int deposit;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getAvator() {
            return avator;
        }

        public void setAvator(String avator) {
            this.avator = avator;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getIntegralNum() {
            return integralNum;
        }

        public void setIntegralNum(int integralNum) {
            this.integralNum = integralNum;
        }

        public int getDeposit() {
            return deposit;
        }

        public void setDeposit(int deposit) {
            this.deposit = deposit;
        }
    }
}
